package com.atguigu.spzx.model.dto.order;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@Data
public class createOrderDto {

    private Long productId;
    private int price;
    private String productName;
    //收货信息
    @JsonProperty("RCinformation") // 确保与前端字段名称一致
    private String RCinformation;
    private String bussnessName;
    private Long bussnessid;
    private Long buyofuserid;
    private String buyOfusername;
    //接收前端发送过来数据，判断是否付了款
    private String ifpayment;
    //卖家头像
    @JsonProperty("avatar") // 确保与前端字段名称一致
    private String bussnessAvatar;
    //买家头像
    private String userAvatar;
    //商品图片
    private String picture;
    //订单编号
    private String ordernumber;

}
